package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * projectName: 2103--RBAC
 *
 * @author: MaTianWei
 * time: 2021/7/8 20:07
 * description:管理Controller层
 */
@Controller
@RequestMapping("admin")
public class AdminController {
    @GetMapping("course")
    public String course(){
        System.out.println("讲师排课");
        return "admin/course";
    }
    @GetMapping("manage")
    public String manage(){
        System.out.println("讲师安排");
        return "admin/manage";
    }
}
